package com.knowledge.web.controller;

import com.knowledge.model.pojo.Result;
import io.swagger.annotations.Api;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class IndexController {

    @GetMapping("/api/index")
    public Result index(){
        return Result.success("成功请求接口");
    }
}
